﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 权限服务接口
    /// </summary>
    public interface IFunctionService
    {
        string Add(T_Function model);

        bool Delete(List<string> ids);

        bool Update(T_Function model);

        T_Function GetById(string id);

        List<T_Function> GetList(string companyId, string parentId);

        List<T_Function> GetList(string roleId);

        PageData<T_Function> Query(string functionKey, string functionName, string parentId, string companyId, PageInfo page);
    }
}
